import request from '@/utils/request'

// 查询SCADA数据导出列表
export function listScadaDataExport(query) {
  return request({
    url: '/product/productLine/list',
    method: 'get',
    params: query
  })
}

// 查询SCADA数据导出详细
export function getScadaDataExport(id) {
  return request({
    url: '/product/scadaDataExport/' + id,
    method: 'get'
  })
}

// 新增SCADA数据导出
export function addScadaDataExport(data) {
  return request({
    url: '/product/scadaDataExport',
    method: 'post',
    data: data
  })
}

// 修改SCADA数据导出
export function updateScadaDataExport(data) {
  return request({
    url: '/product/scadaDataExport',
    method: 'put',
    data: data
  })
}

// 删除SCADA数据导出
export function delScadaDataExport(id) {
  return request({
    url: '/product/scadaDataExport/' + id,
    method: 'delete'
  })


}

// 导出SCADA数据导出
export function exportScadaData(id) {
  return request({
    url: '/product/productLine/scadaDataExport',
    method: 'post'
  })


}
